]> dgit.raspbian.org Git - gnome-shell.git/commit
systemActions: Disable power-off if querying support fails
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 9 Jul 2022 12:01:17 +0000 (14:01 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 9 Jul 2022 12:01:17 +0000 (14:01 +0200)
commit415349c8526ca4485f6bd37be7c19579acb4c8d8
tree3fb5800db18a58902b9daaa9648b115ae216c49c
parent2a3d409114bb995e96f0ea3f2537619a30c18ea9
systemActions: Disable power-off if querying support fails

Treating failure as success is weird. It's also most likely wrong,
as the most likely reason is that gnome-session isn't running.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2372>
js/misc/systemActions.js